<template>
	<view class="">
		<view class="item center">
			<u-image width="100rpx" height="100rpx" src="http://118.31.238.190/home/img_tx_1.png"></u-image>
			<view class=" u-m-t-30">
				￥ <text class="bold u-font-19">{{info.changeAmount}}</text>
			</view>
			<view class="u-m-t-20 tip">
				{{info.changeType=="WITHDRAWAL"?"提现中":info.changeType=="WITHDRAWAL_OFFSET"?"提现失败":info.changeType=="WITHDRAWAL_COMPLETED"?"提现成功":""}}
			</view>
		</view>
		<view class="item ">
			<view class="flex justify-between u-border-bottom u-padding-bottom-20">
				<view class="tip">
					提现到
				</view>
				<view class="">
					{{ info.withdrawalBank}}
				</view>
			</view>
			<view class="flex justify-between u-border-bottom  u-m-t-20 u-padding-bottom-20">
				<view class="tip">
					提现流水号
				</view>
				<view class="">
					{{ info.outOrderNo}}
				</view>
			</view>
			<view class="flex justify-between   u-m-t-20 u-padding-bottom-20">
				<view class="tip">
					提现时间
				</view>
				<view class="">
					{{ info.createTime}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info: {}
			}
		},
		onLoad(options) {
			options.item && (this.info = JSON.parse(decodeURIComponent(options.item)));

		}
	}
</script>

<style scoped lang="scss">
	.item {
		background-color: white;
		margin: 20rpx;
		padding: 50rpx 20rpx;
		border-radius: 20rpx;
	}

	.center {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.tip {
		color: #999999;
	}
</style>